package nl.rainbowsheep.reisorg.rest.service.service;

import nl.rainbowsheep.reisorg.rest.service.model.TravelDocumentType;
import nl.rainbowsheep.reisorg.rest.service.repository.TravelDocumentTypeRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Service class for customers
 */
@Service
public class TravelDocumentTypeService {

    @Autowired
    private TravelDocumentTypeRepository travelDocumentRepository;

    public TravelDocumentType findById(long id) {
        return travelDocumentRepository.findOne(id);
    }
}
